package com.yunxi.yunxicaiproject.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;
import org.stringtemplate.v4.ST;

import java.time.LocalDateTime;
@Data
public class LeaveApplicationVO {
    /**
     * 请假ID，主键，自增长
     */
    @ToolParam(required = false, description = "请假编号")
    private Integer leaveId;

    /**
     * 学生ID
     */
    @ToolParam(required = false, description = "学生学号")
    private String studentId;

    /**
     * 学生姓名
     */
    @ToolParam(required = false, description = "学生姓名")
    private String studentName;


    /**
     * 课程名
     */
    @ToolParam(required = false, description = "课程名")
    private String scheduleName;

    /**
     * 请假开始时间
     */
    @ToolParam(required = false, description = "请假开始时间")
    private LocalDateTime startTime;

    /**
     * 请假结束时间
     */
    @ToolParam(required = false, description = "请假结束时间")
    private LocalDateTime endTime;

    /**
     * 请假类型：病假/事假/其他
     */
    @ToolParam(required = false, description = "请假类型")
    private String type;

    /**
     * 请假原因
     */
    @ToolParam(required = false, description = "请假具体原因")
    private String reason;

    /**
     * 审批状态：0-待审批，1-已批准，2-已拒绝
     */
    @ToolParam(required = false, description = "审批状态,0-待审批，1-已批准，2-已拒绝")
    private Integer status;

}
